home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mintmant / psigretu.txt < prev    next >
Text File  |  1992-03-24  |  1KB  |  64 lines

  1. Psigreturn(2)             Oct. 1, 1991              Psigreturn(2)
  2.  
  3.  
  4.  
  5. NAME
  6.      Psigreturn - exit from a signal handler
  7.  
  8. SYNOPSIS
  9.      void Psigreturn();
  10.  
  11. DESCRIPTION
  12.      Psigreturn is used to prepare to exit from a signal handler.
  13.      This  is  done  automatically  by  the  kernel when a signal
  14.      handler returns, so it is needed only before a program  uses
  15.      the  C  longjmp  function (or some similar facility) to do a
  16.      non-local jump.  Psigreturn will  fail  (harmlessly)  if  no
  17.      signal is being processed at the time it is called.
  18.  
  19.      Note that the MiNT library longjmp function already contains
  20.      a  call  to  Psigreturn, so if you're using that library you
  21.      don't need to worry about this.
  22.  
  23. SEE ALSO
  24.      Psignal(2)
  25.  
  26. BUGS
  27.      Calling Psigreturn from a signal handler, and then  actually
  28.      returning  from that handler, is likely to produce extremely
  29.      unpleasant results.
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. Version 0.9   Last change: MiNT Programmer's Manual             1
  61.  
  62.  
  63.  
  64.